package cn.com.duiba.millionaire.center.biz.dao;

import cn.com.duiba.millionaire.center.biz.entity.MillionaireAppConfigEntity;

import java.util.List;

/**
 * Created by sunchangji on 2018/2/24.
 */
public interface MillionaireAppConfigDao {

    /**
     * 批量新增
     *
     * @param entities
     * @return
     */
    int batchInsert(List<MillionaireAppConfigEntity> entities);

    /**
     * 批量删除
     * @param appIds
     * @return
     */
    int deleteByIds(List<Long> appIds);

    List<Long> findAppIdByPropName(String propName);

    /**
     *
     * @param appIds
     * @return
     */
    List<Long> filterAppIds(List<Long> appIds);

}
